<template>
  <div class="app-container">
    <el-tabs v-model="activeName" type="card">
      <el-tab-pane name="first">
        <span slot="label"><i class="el-icon-date"></i> 生成代码</span>
        <generate-history/>
      </el-tab-pane>
      <el-tab-pane name="second">
        <span slot="label"><i class="el-icon-edit-outline"></i> 新增生成配置</span>
        <generate-config/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import GenerateConfig from './GenerateConfig'
import GenerateHistory from './GenerateHistory'
export default {
  components: { GenerateConfig, GenerateHistory },
  data() {
    return {
      activeName: 'first'
    }
  },
}
</script>

